package com.fufufu.mail.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fufufu.common.utils.PageUtils;
import com.fufufu.mail.product.entity.AttrGroupEntity;
import com.fufufu.mail.product.vo.AttrGroupAttrRelationVo;
import com.fufufu.mail.product.vo.AttrGroupWithBaseAttrVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zyx
 * @email 1262074394@qq.com
 * @date 2022-09-15 08:15:48
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params, Long catalogId);

    void deleteRelation(List<AttrGroupAttrRelationVo> relations);

    List<AttrGroupWithBaseAttrVo> getGroupsByCatelogId(Long catelogId);
}

